package stubpackage;

public class AssistantELService_Stub implements AssistantELService{
	int assistant_ID;
	
	String plan;

	int class_number;
	String class_name;
	String class_type;
	int class_teacher_number;
	int class_assistant_number;
	int[] class_time;
	String[] class_room;
	String class_period;
	String class_credit;
	boolean class_is_must;

	String major_controlled;

	String name;
	int Student_ID;
	String sex;
	int age;
	String grade;
	int phoneNum;
	String major;
	
	public AssistantELService_stub(int AI,String Plan){
		assistant_ID = AI;
		String plan = Plan;
	}
	//�õ��Ѿ��༭��ı�Ժ�Ľ�ѧ�ƻ�
	public AssistantVO getPlan(int Assistant_ID){
		return new Plan(plan);
	}
	
	
	public AssistantELService_stub(int AI,int CNum,String CN,String CType,String CTN,String CAN,
		int[] CTime,String[] CR��String CP,String CC,boolean CIM){
		assistant_ID = AI;
		class_number = CNum;
		class_name = CN;
		class_type = CType;
		class_teacher = CTN;
		class_assistant = CAN;
		class_time = CTime;
		class_room = CR;
		class_period = CP;
		class_credit = CC;
		class_is_must = CIM;
	}
	
	//�õ��Ѿ��½���Ŀγ���Ϣ
	public AssistantVO getClass(int Assistant_ID){
		return new ClassMessage(class_number,class_name,class_type,
		class_teacher,class_assistant,class_time,class_romm,class_period,
		class_credit,class_is_must);
		}	
	
	
	public AssistantELService_stub(String MC,
	String Name,int SI,String Sex,int Age,String Grade,int PN,
	String Major){
		major_controlled = MC;
		name = Name;
		Student_ID = SI;
		sex = Sex;
		age = Age;
		grade = Grade;
		phoneNum = PN;
		major = Major;
	}

	//�õ���Ժϵ��ĳ�꼶��ѧ���б��Լ�����ѧ�����Ϣ
	public ArrayList<GradeMessageVO> getInformationOfAllStudent(int grade){
		ArrayList<GradeMessageVO>gradeMessageList = new ArrayList<GradeMessageVO>();	
		gradeMessageList.add(new GradeMessageVO(studentsOfGrade));
		return gradeMessageList;
	}
	//�õ�ĳ��ѧ��ĸ�����Ϣ
	public AssistantVO getStudentMessageByID(int Student_ID){
		return new Student(name,student_ID,grade,major);
				
	}	
	//�õ���Ժ�Ŀγ��б�
	public ArrayList<GradeMessageVO> getInformatonOfAllClass(){
		ArrayList<GradeMessageVO>gradeMessageList = new ArrayList<GradeMessageVO>();
		gradeMessageList.add(new GradeMessageVO(classesOfGrade));
		return gradeMessageList;
	}
	
	//�õ�ĳ�γ̵Ŀγ���Ϣ
	//����ͬ���õ��Ѿ��½���Ŀγ���Ϣ��
	
	
	
	public String getGrade(int session){
		return grade;
	}
}